/*
package com.dodo.videoEdit.ui.fragment.adapters;

import android.annotation.SuppressLint;
import android.view.View;

import com.azhon.basic.adapter.BaseDBRVAdapter;
import com.dodo.proiectCore.util.TipsUtil;
import com.dodo.videoEdit.BR;
import com.dodo.videoEdit.R;
import com.dodo.videoEdit.databinding.FragmentFileChoseItemBinding;
import com.dodo.videoEdit.greendao.FileDirType;

*/
/**
 * @author zhoubo
 * @date 2020/8/12
 * @describe
 *//*

public class FileChoseItemAdapter2  extends BaseDBRVAdapter<FileDirType, FragmentFileChoseItemBinding> {
    private int type = 0;
    public FileChoseItemAdapter2(int type) {
        super(R.layout.fragment_file_chose_item, BR.bean);
        this.type = type;    }

    @SuppressLint("SetTextI18n")
    @Override
    protected void onBindViewHolder(FileDirType fileDirType, FragmentFileChoseItemBinding binding, int position) {
        super.onBindViewHolder(fileDirType, binding, position);
       // binding.dirName.setText(FileUtil.getFileName(fileDirType.getPathDir()));
       // binding.dirName2.setText(FileUtil.getFileName(fileDirType.getPathDir()));
        int num = 0;
        switch (type) {
            case 1 :
                num = fileDirType.getAudioCount();
                break;
            case 2 :
                num = fileDirType.getImageCount();
                break;
            case 3 :
                num = fileDirType.getVideoCount();
                break;
        }
        //binding..setText("文件数量: " +num);
        binding.foldingCell.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                TipsUtil.show("123");
                binding.foldingCell.toggle(false);
            }
        });
    }
}
*/
